home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / Multi-Panel Dialogs 1.1 / MPDTest App / Panels / CPowerPanel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-25  |  945 b   |  41 lines  |  [TEXT/R*ch]

  1. /*
  2.     File:            CPowerPanel.h
  3.  
  4.     Contains:    Abstract base class for a view which is included as needed by 
  5.                     your typical multipane dialog
  6.  
  7.     Written by:    Mike Shields
  8.  
  9.     Copyright:    Copyright © 1996 SoftKey International, Inc.  All Rights Reserved.
  10.  
  11.     Change History (most recent first):
  12.  
  13.                 02/01/96    MSS        New
  14.     To Do:
  15. */
  16.  
  17. #pragma once
  18.  
  19. #include "CMPDPanel.h"
  20.  
  21. class CPowerPanel : public CMPDPanel
  22. {
  23. public:
  24.     enum { class_ID = 'CPPl' };
  25.     
  26.     static CPowerPanel*
  27.                         CreateFromStream(LStream* inStream);
  28.  
  29.                         CPowerPanel();
  30.                         CPowerPanel(const CPowerPanel &inOriginal) ;
  31.                         CPowerPanel(const SPaneInfo &inPaneInfo,
  32.                                                 const SViewInfo &inViewInfo);
  33.                         CPowerPanel(LStream *inStream);
  34.     virtual            ~CPowerPanel();
  35.     
  36.     virtual void    GetData(Handle inDataToReplace);
  37.     virtual void    SetData(Handle inData);
  38.     virtual Boolean    WantDefaultsButton(void) const { return false; };
  39.     virtual Boolean    WantRevertButton(void) const { return false; };
  40. };
  41.